package org.prem.collection;

import java.util.Collections;
import java.util.HashSet;
import java.util.Iterator;
import java.util.LinkedList;

public class TestHashSet {
	
	public static void main(String[] args){
		HashSet hs = new HashSet(); 
/*		LinkedList ll = new LinkedList();
		hs.add(ll);*/
		 hs.add("B");
	      hs.add("A");
	      hs.add("D");
	      hs.add("E");
	      hs.add("C");
	      hs.add("F");
	      System.out.println(hs);
	      Iterator i = hs.iterator();
/*	      LinkedList ll = new LinkedList();
	      ll.add(hs);
	      Collections.sort(ll);
	      System.out.println(ll);*/
	}
}
